﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace TA.Turbo.Controls
{
	/// <summary>
	/// Complex list control whose items contain an INPUT tag.
	/// </summary>
	public interface IComplexInputListControl : IListControl
	{
		/// <summary>
		/// The direction in which items in this list will be rendered.
		/// </summary>
		Orientation RepeatDirection { get; set; }
		/// <summary>
		/// Renders an option item's contents (such as a radio button).
		/// </summary>
		/// <param name="writer"></param>
		/// <param name="item"></param>
		void RenderItemOptionInternal(HtmlTextWriter writer, ListItem item);
	}
}
